package com.lysj.bhp.user.controller;

import com.lysj.bhp.user.base.UserContent;
import com.lysj.bhp.user.domain.UserEditLog;
import com.lysj.bhp.util.web.Resp;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("admin/user_edit_log")
public class UserEditLogController extends UserContent{


    @RequestMapping("/list")
    public Resp list(){
        List<UserEditLog> userEditLogList=userEditLogRepository.findAll();
        return new Resp(userEditLogList);
    }
}
